{% extends "DuoUserBundle::layout.html.twig" %}
{% block title %}
Accueil - {{ parent() }}
{% endblock %}
{% block duo_users_body %}
<h2>Liste des clients</h2>
<ul>
{% for user in users %}
        <li>
            <a href="{{ path('duo_user_edit', {'id': user.id}) }}">{{user.firstname}} {{user.lastname}}</a>
        </li>
{% else %}
            <li>Pas de client</li>
{% endfor %}
        </ul>
{% endblock %}